import AppLayout from '@/layout/AppLayout.vue'
import { RouterView } from 'vue-router'
import { ref } from "vue";
// 客户端
/*const client = {
    path:'/client',
    children: [
            {
              path: 'chatbot',
              name: '问答',
              component: () => import('@/views/qamanage/index.vue'),
            }
          ]
        }

export default client;*/


export const client = {
  // path: '/',
  // children: [
  //   {
      path: '/client',
      name: '问答',
      component: () => import('@/views/chatBI/zindex.vue'),
      meta: {
        keepAlive: true, // 需要缓存
      }
  //   }
  // ]
}

export const manage = {
  path: '/log',
  name: '日志管理',
  component: () => import('@/views/manage/log.vue'),
  meta: {
    keepAlive: false,
  }
}

export const empMenu = {
  path: '/empMenu',
  name: '菜单管理',
  component: () => import('@/views/empMenu/index.vue'),
  meta: {
    keepAlive: false,
  }
}

export const table = {
  path: '/table',
  name: '源表管理',
  component: () => import('@/views/table/index.vue'),
  meta: {
    keepAlive: false,
  }
}

export const prompt = {
  path: '/prompt',
  name: '提示词管理',
  component: () => import('@/views/prompt/index.vue'),
  meta: {
    keepAlive: false,
  }
}
export const llmTrain = {
  path: '/llmTrain',
  name: '模型训练',
  component: () => import('@/views/llmTrain/index.vue'),
  meta: {
    keepAlive: false,
  }
}
export const approve = {
  path: '/approve',
  name: '审批管理',
  component: () => import('@/views/approve/index.vue'),
  meta: {
    keepAlive: false,
  }
}
export const msgNotice = {
    path: '/msgNotice',
    name: '我的消息',
    component: () => import('@/views/msgNotice/index.vue'),
    meta: {
        keepAlive: false,
    }
}

// export default client;

// const temp = ref(1);
// export default temp;
